package com.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.base.entity.bo.SciencePersonBo;
import com.base.entity.bo.UserEntity;
import com.base.entity.vo.SciencePersonVo;
import com.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface SciencePersonMapper extends BaseMapper<SciencePersonBo> {
    List<SciencePersonBo> selectPersonList(SciencePersonVo sciencePersonVo);

    Integer selectPersonCount(SciencePersonVo sciencePersonVo);

    List<SciencePersonBo> selectPersonDetails(SciencePersonVo sciencePersonVo);

    Integer processAllCount(SciencePersonVo sciencePersonVo);

    Integer processPassCount(SciencePersonVo sciencePersonVo);

    Integer processSubmitCount(SciencePersonVo sciencePersonVo);

    Integer processReturnCount(SciencePersonVo sciencePersonVo);

    List<SciencePersonBo> getPersonHaveList(SciencePersonVo sciencePersonVo);

    List<SciencePersonBo> personCount( SciencePersonVo sciencePersonVo);

    List<SysUser> personList(SciencePersonVo sciencePersonVo);

    List<SysUser> userIdList(SciencePersonVo sciencePersonVo);

    List<UserEntity> userList(SciencePersonVo sciencePersonVo);

    List<SciencePersonBo> exportList(SciencePersonVo sciencePersonVo);

    Integer accountList(SciencePersonBo sciencePersonBo);
}
